Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addpkg(tur/luanti): minetest for X11 on Android #1296

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

robertkirkman
Copy link

@robertkirkman robertkirkman commented Nov 7, 2024

Fixes #1295

Tested on Samsung Galaxy S9 SM-G960U with Qualcomm Adreno 630 GPU using these commands

termux-x11 &
DISPLAY=:0 LIBGL_ALWAYS_SOFTWARE=1 xfce4-session &
mkdir -p ~/.minetest/games/
git clone https://git.minetest.land/VoxeLibre/VoxeLibre.git ~/.minetest/games/VoxeLibre
unset LIBGL_ALWAYS_SOFTWARE
DISPLAY=:0 MESA_LOADER_DRIVER_OVERRIDE=zink MESA_VK_WSI_DEBUG=sw luanti

Tip

For this type of game (X11 window system with fully functional builtin multitouch touchscreen buttons) I recommend trying out this mode of Termux:X11 while playing:
image

Screenshot_20241107-092240_TermuxX11

Tested on Samsung Galaxy S9 SM-G960U with Qualcomm Adreno 630 GPU
using these commands

```
termux-x11 &
DISPLAY=:0 LIBGL_ALWAYS_SOFTWARE=1 xfce4-session &
mkdir -p ~/.minetest/games/
git clone https://git.minetest.land/VoxeLibre/VoxeLibre.git ~/.minetest/games/VoxeLibre
unset LIBGL_ALWAYS_SOFTWARE
DISPLAY=:0 MESA_LOADER_DRIVER_OVERRIDE=zink MESA_VK_WSI_DEBUG=sw luanti
```
@robertkirkman robertkirkman marked this pull request as draft November 7, 2024 15:53
@robertkirkman
Copy link
Author

I might need to move it to the tur-on-device folder, since it works with cross-compilation disabled, but has this error in CI for cross-compilation:

  The C compiler
    "/home/builder/.termux-build/_cache/android-r27b-api-24-v1/bin/clang"
  is not able to compile a simple test program.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Package]: luanti
1 participant